added mockup main code