wip rewrite atan2 as arg