Simple solution for a simple problem