Added comment for function