Added encoding options