working on af_conv function