added my solution (#3)