added content for both functions