Added prototype main (needed by object)