got and implemented solution