self contained, removed all external dependencies