implemented sam into game