last debugging. functionality check. sorry guys I break stuff a lot :(