yes, agree with @halton and I strongly suggest to write a function for all of these.