Keep it simple by using a plain function