lab6 final
add ability for new frames