- simpler code