changed server declaration to one liner