finished main def