initial revision. was added referense functionality for gtalk