jankily made rest work