work in progress - event type defining, second canvas setting