metody playera i controllera