rest calls working