before splitting removing and adding testing code