Started writing main