if-elif-else: early prototype (works for most basic case)