found solution to problem