cut a few lines of code