started validation and testing stuff