a simple way to write