changed -> to . where its needed