handling the sit action