edited input group - might still be wrong though