barebones code behind resolving
stupid .pyc files