small update on func