Continued to work on main matlab