Fixed major bugs

Example SHOULD work now