Frame assignment helper

Frame assignment helper