added logs but needs to be filled more