field declaration depends on right hand side