modified the create_account