refactoring Excecution speed