got rid of all external dependencies