re use code and increase simplicity