final touches after testing, removed dummy routine