Added a psuedo main