early tests and implementation