applies pointer and so on