added explicit main-function