New funcions added.