remove nested repository approach