Create main+functions

without raising