Clean up! a neat way of implementing things