Added barrier for player