added quick solution