modify something logic