separate events and picture boxes