fixed run-time errors; continue working thru mechanics