using post construct instead of constructor