frame characteristics now in subprogram