rugh draft of line getter and gene key