added commit to funcations