adding radiofields and removing print statements