use realpath function