added factory, testing $http