Created unit class