Debugged! No errors for first time!!