added bonus attribute to Frame function