finished atan block