milestone in issue 6

isolated the problem in issue 6
see server.R lines 98-111 and 113-126