refactorings + change scene functionality on shared state