added false branch to case