added rotation changes to worker