closes #5, tophat only  supported for now, total method needs to be rewritten later