Add all functions needed