Fixed old name and added accidentaly deleted function

Change-Id: I7f78f12f0163173cd52ece7985006db61fdc56c3
Merge "Fixed old name and added accidentaly deleted function"