Set the attribute as required
Adding get() method