added some main stuff