Placed the output messages in correct order