made last commit more dynamic