Main function is completed , next step is testing