adding lastId for easy access