sry for not using new-style class