added POST and content function