remove useless code (framework stuff wasn't required/needed)