working nice angles soln in rb