Various code written in different calsses