removed shitty main fct