Tested on eres, made adjustments. Read to submit