simply message passing by packaging it into single class