simplify the code man