make all angles local variables