got basic wrapping working