Removed type errors from simple_working.pas