added penalty stuff

first version