more credits and adding functions