Added somes functions.