Added a 'creates' variable to fix lack of idempotency