removed begging from code