done with first part hope it works