some shits repaired, added getprofit() and buyshop()