Updated functions with their function specification