out class price and make code beautiful