type of vardecl must be derived