key_commit: Created a way to print investment detail