python syntax added + getprice() programmed