Added somemore logic to the scene