added functions to handle content