made it non-static. haven't tested it yet