edited some functions

created some verification functions - not tested yest