Added two main functions and validate presence of start reason