outlined steps for function