Made code a bit faster.