re-implemented physics (broken)