Functioning for basic case