a simple solution