advanced input completion and utilities