Made resolution not a magic number