fixed warnings and added radio buttons