get frame code from Code.getCode rather that hard coding it