cleaned up gameplay