problem with rest