Function should be main not euler