added a indexpath helper