Working four function