finally got total cost :D