added setting variables as well as validated from where the information is coming