Added duplicate above and below functions