added some functionality I thinks still need to finish a little but keeny wants to check something on his comp