adds contents method