removed "main" functionality