updated credits and functions