edit bang's code