sample method create