Unsuccessful attempt to solve performance issue