Setting required fields