coded as class