simple REST functionality added