something is going wrong with my calculations...