added pointer to original code
thanks