first try as class