added credits, updated algorithms