moving logic around