now saves and restores angle