added return types, media types