adding two server methods