normalises arguments for static type languages