Incapsulating logic