proper variable initialization