implementation of penalty lines