added credits function