WORKING: reverted input additions, this is the working simulation copy