works with new iLayout
initProperties is no longer needed