site encapsulated in class