Changes made to add basic simulation