in count: When the basketball is at the disposal of the throw in team (usually bounced or handed to the throw in team by the official). Penalty = Loss of ball: A throw-in is awarded to the opponent at the previous throw in spot. Five-second closely guarded violation – When a player with the ball is guarded closely for five seconds. Penalty = Loss of ball: The opposing team gets to throw-in the ball from the out-of-bounds spot nearest the violation. Five-second back to the basket violation (NBA only) – Penalty = Loss of ball: The opponent is awarded the ball at the free throw line extended. Five-second free throw violation – Under FIBA rules, a free throw shooter must throw the ball towards the hoop within five seconds after an official places it at his disposal. Penalty = Lose the shot and possible loss of ball: A successful shot does not count. The ball is awarded to the opponent at the free throw line unless another free throw or a possession penalty is to follow. Goaltending – the violation of interfering with the ball when it is on its way to the basket and it is (a) in its downward flight, (b) entirely above the rim and has the possibility of entering the basket, and (c) not touching the rim. Over-and-back – See backcourt violation (1) Three seconds rule – requires that a player shall not remain in the opponents' restricted area for more than three consecutive seconds while his team is in control of a live ball in the frontcourt and the game clock is running. Traveling – To move one's pivot foot illegally or to fall to the floor without maintaining a pivot foot (exact rules vary). Penalties and bonuses Penalties – For infractions of the rules, a team is penalized by bonuses being rewarded to the opposing team. And one – The free throw awarded to a shooter who is fouled while scoring. Bonus – After a team has accumulated a set number of fouls in a period of play (either half or quarter), the player fouled receives a set number of free throws on each non-shooting foul by the defense. The number varies by league as follows: NCAA men's and NFHS: All team fouls after the sixth in a half are considered to be "bonus" free throws in both rule sets. However, in popular usage,