removed static main testing method