the first implementation for context aware application