mal function depends on the