added function startsWith(data, input) .. string helper