initial version of rest control