separate logic into prompt suggestion