functionality working, needs java/ajax