reduce redundancy a bit