check for 201 when creating