separate main script and functions
first assertion