update specs, remove unused code