change more nicer declaration
change slice pointer to slice