Created valid method for optional