example on pointer initialization