checking if foundation works