added prefix functionality