cleanup and dependency declaration