added start of rest handlers