trying to refactor slide partial