[application] managing frames as structures